package edu.whut.mall.common.service;

import edu.whut.mall.common.vo.FileVo;
import org.springframework.web.multipart.MultipartFile;

/**
 * @program: d9lab-mall
 * @description: FastDFs文件服务
 * @author: Wayne
 * @create: 2020-06-17 17:22
 **/
public interface IFdfsService {
    /**
     * 上传单个文件到fastDfs服务器
     * @param file
     * @return
     * @throws Exception
     */
    FileVo upload(MultipartFile file) throws Exception;
}
